@import './theme.css';

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
}

body {
	min-height: 100vh;
	color: var(--color-text);
	background: var(--color-background);
	transition:
		color 0.5s,
		background-color 0.5s;
	line-height: 1.6;
	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		Roboto,
		Oxygen,
		Ubuntu,
		Cantarell,
		'Fira Sans',
		'Droid Sans',
		'Helvetica Neue',
		sans-serif;
	font-size: 15px;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#app {
	max-width: 1280px;
	margin: 0 auto;
	padding: 2rem;
	font-weight: normal;
}

a,
.green {
	text-decoration: none;
	color: hsla(160, 100%, 37%, 1);
	transition: 0.4s;
	padding: 3px;
}

@media (hover: hover) {
	a:hover {
		background-color: hsla(160, 100%, 37%, 0.2);
	}
}

@media (min-width: 1024px) {
	body {
		display: flex;
		place-items: center;
	}

	#app {
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding: 0 2rem;
	}
}

.flex1 {
	flex: 1;
}

.row {
	display: flex;
	flex-direction: row;
}

.xy_center {
	align-items: center;
	justify-content: center;
}

.y_center {
	align-items: center;
}

.column {
	display: flex;
	flex-direction: column;
}

.click {
	cursor: pointer;

}

.el-drawer__header {
	margin-bottom: 0 !important;
}

.el-table__header th {
	background-color: var(--el-color-info-light-9) !important;
}

.el-button--small {
	padding: 5px 7px !important;
}

.form_item_desc {
	font-size: 12px;
	color: #999;
}

.el-card {
	display: flex;
	height: 100%;
	flex-direction: column;

	.el-card__header,
	.el-card__footer {
		padding:8px 10px;
		background-color: var(--el-color-info-light-9);
	}

	.el-card__body {
		height: 100%;
		overflow-y: auto;
		padding: 8px 10px;
	}

}